package com.orangelife.utils;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class LoginSessionContext implements Serializable {
	/**
	 * app登陆类型-工程师登陆
	 */
	public static final String APP_LOGIN_TYPE_ENGINEER = "1";
	/**
	 * app登陆类型-业主登陆
	 */
	public static final String APP_LOGIN_TYPE_OWNER = "2";

	private static final long serialVersionUID = -2728122695244455803L;
	private Long userID;
	private Long roleID;
	private String loginName;
	private Date loginTime;
	private String realname;
	private String powerstr;

	private Map<String, String> areaList = new HashMap<String, String>();
	private String loginType;
	private String telephone;
	private String isSuper;
	private String equipmentId;
	private String merchantCode;

	public Long getuserID() {
		return userID;
	}

	public void setuserID(Long userID) {
		this.userID = userID;
	}

	public Long getroleID() {
		return roleID;
	}

	public void setroleID(Long roleID) {
		this.roleID = roleID;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public Map<String, String> getAreaList() {
		return areaList;
	}

	public void setAreaList(Map<String, String> areaList) {
		this.areaList = areaList;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getPowerstr() {
		return powerstr;
	}

	public void setPowerstr(String powerstr) {
		this.powerstr = powerstr;
	}

	public String getLoginType() {
		return loginType;
	}

	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getIsSuper() {
		return isSuper;
	}

	public void setIsSuper(String isSuper) {
		this.isSuper = isSuper;
	}

	public String getEquipmentId() {
		return equipmentId;
	}

	public void setEquipmentId(String equipmentId) {
		this.equipmentId = equipmentId;
	}

	public String getMerchantCode() {
		return merchantCode;
	}

	public void setMerchantCode(String merchantCode) {
		this.merchantCode = merchantCode;
	}

}
